package com.itheima.api;

public class Demo01 {

    public static void main(String[] args) {

        String[] strs= {"鹿晗","蔡徐坤","吴签","滔滔"};
        String[] strs2= {"广坤","刘能","常贵","赵四"};
        /*
        native  本地方法
         */
        System.arraycopy(strs,2,strs2,1,2);
        for (int i = 0; i < strs2.length; i++) {
            System.out.println(strs2[i]);
        }


    }
}
